<?php
include_once('common/header.php');	
if($AppUI->id <= 0) {
	$this->_redirect(HOST_VFRIEND);
}
$intTotal	= 0;
$intLimit	= HISTORY_VON_LIMIT;
$intPage 	= $objRequest->getParam('page', 1);
$intOffset	= ($intPage - 1) * $intLimit;
if($intOffset < 0) $intOffset = 0;
$objVlogs	= new Vlogs();
$arrResult	= $objVlogs->getVlogsByUserId($AppUI->id,$intOffset,$intLimit,$intTotal);
$this->view->arrResult	= $arrResult;
$this->view->intTotal	= $intTotal;
$this->view->intOffset	= $intOffset;
$this->view->intLimit	= $intLimit;
$this->view->intPage	= $intPage;
?>